python program to calculate bill amount